package org.oslims.client.service;

import java.util.List;

import org.oslims.domain.Analysis;
import org.oslims.domain.SampleType;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("analysisService")
public interface AnalysisService extends RemoteService {

	public void saveOrUpdateAnalysis(Analysis analysis);

	public List<Analysis> getAllAnalysis();

	public List<Analysis> getAllAnalysisByState(String state);

	public List<Analysis> getAllAnalysis(int start, int length, String sortBy, boolean desc);

	public Integer getAnalysisCount();

	public List<Analysis> getAnalysisForSampleTypes(List<SampleType> sampleTypes);

}
